package net.jxvtc.dao.appinfo;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import net.jxvtc.pojo.AppInfo;

public interface AppInfoMapper {
	
	
	
	
	/**
	 * App列表
	 */
	public List<AppInfo> getAppInfoList
                      (@Param(value="softwareName")String querySoftwareName,
                       @Param(value="status")Integer queryStatus,
                       @Param(value="flatformId")Integer queryFlatformId,
                       @Param(value="categoryLevel1")Integer queryCategoryLevel1,
                       @Param(value="categoryLevel2")Integer queryCategoryLevel2,
                       @Param(value="categoryLevel3")Integer queryCategoryLevel3,
                       @Param(value="devId")Integer devId,
                       @Param("from")Integer currentPageNo, 
                       @Param("pageSize")Integer pageSize)throws Exception;
	public int getAppInfoCount
	                     (@Param(value="softwareName")String querySoftwareName,
			              @Param(value="status")Integer queryStatus,
			              @Param(value="flatformId")Integer queryFlatformId,
			              @Param(value="categoryLevel1")Integer queryCategoryLevel1,
			              @Param(value="categoryLevel2")Integer queryCategoryLevel2,
			              @Param(value="categoryLevel3")Integer queryCategoryLevel3,
			              @Param(value="devId")Integer devId)throws Exception;
	
	
	public int add(AppInfo appinfo)throws Exception;
	

}
